package com.neo.base.genericity

/**
  * Created by hadoop on 6/16/17.
  */
object GenericityTest {
  def main(args: Array[String]): Unit = {
    val zz = new GenerTest(5) {
      override def count(a: Int): Unit = ???
    }
  }
}

abstract class GenerTest[T](var x: T){
  println(x)

  def count(a: T)
}